﻿using Infrastructure.Interfaces;

namespace Ultimate.Shell.Views
{
    public partial class ShellView : IView
    {
        public ShellView()
        {
            InitializeComponent();
        }

        private void MainFrame_NavigationFailed(object sender, UltimateNavigationFramework.UriNavigation.UltimateNavigationFailedEventArgs e)
        {
            e.Handled = true;
        }

        private void GoBackButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            MainFrame.GoBack();
        }

        private void GoForwardButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            MainFrame.GoForward();
        }
    }
}
